using System;

namespace UserManagementService.Common.DTOs;

/// <summary>
/// 用户统计信息DTO
/// </summary>
public class UserStatisticsDto
{
    /// <summary>
    /// 总用户数
    /// </summary>
    public int TotalUsers { get; set; }

    /// <summary>
    /// 活跃用户数
    /// </summary>
    public int ActiveUsers { get; set; }

    /// <summary>
    /// 未激活用户数
    /// </summary>
    public int InactiveUsers { get; set; }

    /// <summary>
    /// 锁定用户数
    /// </summary>
    public int LockedUsers { get; set; }

    /// <summary>
    /// 今日注册用户数
    /// </summary>
    public int TodayRegistrations { get; set; }

    /// <summary>
    /// 本月注册用户数
    /// </summary>
    public int MonthlyRegistrations { get; set; }

    /// <summary>
    /// 最近登录时间
    /// </summary>
    public DateTime? LastLoginTime { get; set; }

    /// <summary>
    /// 统计时间
    /// </summary>
    public DateTime StatisticsTime { get; set; } = DateTime.UtcNow;
}